package com.xydtech.ecard.custgroup.mapper;

import com.xydtech.ecard.custgroup.domain.EcardCustomerGroupOrganize;

import java.util.List;

/**
 * 社团组织信息Mapper接口
 *
 * @author yuzhiguo
 * @date 2024-11-26 下午3:10
 */
public interface EcardCustomerGroupOrganizeMapper
{
    /**
     * 查询社团组织信息
     *
     * @param id 社团组织信息主键
     * @return 社团组织信息
     */
    public EcardCustomerGroupOrganize selectEcardCustomerGroupOrganizeById(Long id);

    /**
     * 查询社团组织信息列表
     *
     * @param ecardCustomerGroupOrganize 社团组织信息
     * @return 社团组织信息集合
     */
    public List<EcardCustomerGroupOrganize> selectEcardCustomerGroupOrganizeList(EcardCustomerGroupOrganize ecardCustomerGroupOrganize);

    /**
     * 新增社团组织信息
     *
     * @param ecardCustomerGroupOrganize 社团组织信息
     * @return 结果
     */
    public int insertEcardCustomerGroupOrganize(EcardCustomerGroupOrganize ecardCustomerGroupOrganize);

    /**
     * 修改社团组织信息
     *
     * @param ecardCustomerGroupOrganize 社团组织信息
     * @return 结果
     */
    public int updateEcardCustomerGroupOrganize(EcardCustomerGroupOrganize ecardCustomerGroupOrganize);

    /**
     * 删除社团组织信息
     *
     * @param id 社团组织信息主键
     * @return 结果
     */
    public int deleteEcardCustomerGroupOrganizeById(Long id);

    /**
     * 批量删除社团组织信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEcardCustomerGroupOrganizeByIds(String[] ids);

    /**
     * 批量移交社团组织信息
     * @param ecardCustomerGroupOrganizeList
     * @return
     */
    int batchUpdateEcardCustomerGroupOrganizeInfo(List<EcardCustomerGroupOrganize> ecardCustomerGroupOrganizeList);

    /**
     * 批量启用/停用社团组织
     * @param ecardCustomerGroupOrganizeList
     * @return
     */
    int batchSwitchOverEcardCustomerGroupOrganize(List<EcardCustomerGroupOrganize> ecardCustomerGroupOrganizeList);

    /**
     * 批量释放社团组织
     * @param ecardCustomerGroupOrganizeList
     * @return
     */
    int batchReleaseEcardCustomerGroupOrganizeInfo(List<EcardCustomerGroupOrganize> ecardCustomerGroupOrganizeList);
}
